
// StartCommand.java
package com.smartfarm.command;

import com.smartfarm.domain.FarmMachinery;

public class StartCommand implements Command {
    private FarmMachinery machinery;

    public StartCommand(FarmMachinery machinery) {
        this.machinery = machinery;
    }

    public void execute() {
        machinery.startWork();
    }
}